/* 基础样式 */
body {
    background-color: #f8f9fa;
    color: #333;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background: linear-gradient(180deg, #2c3e50 0%, #3d5a80 100%);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    border-right: none;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    margin: 5px 0;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link i {
    margin-right: 10px;
}

.header {
    background-color: #fff;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 5px 0;
    padding: 10px 15px;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.sidebar .logo {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.sidebar .logo h4 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

.sidebar .user-info {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    background: rgba(0, 0, 0, 0.2);
}

.sidebar .user-info .user-name {
    color: white;
    font-weight: 500;
    margin-bottom: 10px;
} 